package com.huidao.dao;

import java.util.List;

import com.huidao.entity.User;

public interface UserDao {
	
	public List<User> getUserList(int currentPage,int pageSize,String namekey,Integer roleId);
	
	public int getTotalCount(String namekey,Integer roleId);
	
	public boolean addUser(User user);
	
	public boolean delUser(Long id);
	
	public boolean updateUser(User user);
	
	public boolean isUserExist(User user);
	
	public boolean checkPassword(User user);
	
	public Long getRidByUsername(User user);
}
